package cn.yunhe.entity;

import java.io.Serializable;

public class News implements Serializable {
    private int newsid;
    private String title;
    private String context;
    private String writeTime;

    public News() {
    }

    public News(int newsid, String title, String context, String writeTime) {
        this.newsid = newsid;
        this.title = title;
        this.context = context;
        this.writeTime = writeTime;
    }

    public int getNewsid() {
        return newsid;
    }

    public void setNewsid(int newsid) {
        this.newsid = newsid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getWriteTime() {
        return writeTime;
    }

    public void setWriteTime(String writeTime) {
        this.writeTime = writeTime;
    }
}
